package com.solver.service;

import com.solver.dto.TeacherDTO;
import com.solver.dto.TeacherLoginDTO;
import com.solver.dto.TeacherPageQueryDTO;
import com.solver.entity.Teacher;
import com.solver.result.PageResult;

public interface TeacherService {

    /**
     * 员工登录
     * @param teacherLoginDTO
     * @return
     */
    Teacher login(TeacherLoginDTO teacherLoginDTO);

    void save(TeacherDTO teacherDTO);

    PageResult pagequery(TeacherPageQueryDTO teacherPageQueryDTO);

    void startOrStop(Integer status, Long id);

    Teacher getById(Long id);

    void update(TeacherDTO teacherDTO);
}
